class CreateVisitors < ActiveRecord::Migration
  def self.up
    create_table :visitors do |t|
      t.references :event
      t.text :csv
      t.string :name
      t.string :mail
      t.string :number
      t.string :user_hash
      t.datetime :came_at

      t.timestamps
    end
  end

  def self.down
    drop_table :visitors
  end
end
